home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 2,801 to 2,900 / aol-file-protocol-4400-2801-to-2900.zip / AOLDLs / C++ Files Library / UVirusCheck (PP) / UVirusCheck.sit / UVirusCheck / UVirusCheck.h < prev    next >
Text File  |  1995-08-23  |  2KB  |  53 lines

  1. // ===========================================================================
  2. //    UVirusCheck.h                    ⌐ 1995, âric Forget. All rights reserved.
  3. // ===========================================================================
  4. //    
  5. //    ************************************************************************
  6. //    *                                                                      *
  7. //    *    Before using this code you should read the "License Agreement"     *
  8. //    *    document and agree with it.                                        *
  9. //    *                                                                      *
  10. //    ************************************************************************
  11. //
  12. //    Instruction and usage notes are in the UVirusCheck.cp file.
  13. //
  14. // ---------------------------------------------------------------------------
  15.  
  16.  
  17. #pragma once
  18.  
  19.  
  20. // ---------------------------------------------------------------------------
  21. //        Ñ Structure SResourceMapT
  22. // ---------------------------------------------------------------------------
  23.  
  24. struct SResourceMapT {
  25.  
  26.     OSType        type;
  27.     Int32        count;
  28.     Int32        size;
  29.  
  30. };
  31.  
  32.  
  33.  
  34. // ---------------------------------------------------------------------------
  35. //        Ñ Class StVirusCheck
  36. // ---------------------------------------------------------------------------
  37.  
  38. class StVirusCheck {
  39.  
  40. public:
  41.  
  42.                         StVirusCheck(OSType inResType, ResIDT inAlertID);
  43.     virtual                ~StVirusCheck();
  44.  
  45.  
  46. protected:
  47.     Handle                mResourceMap;
  48.     OSType                mResType;
  49.     
  50.     void                BuildResourceMap();
  51.     Boolean                CheckIfResourceMapIsInfected();
  52. };
  53.